﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum dishname
    {
        青椒炒肉,
        东北水饺
    }
    class CookRobot:Robot
    {
       public dishname Dishname { get; set; }

        public CookRobot(string name,dishname dishname):base(name)
        {
            this.Dishname = dishname;
        }
        public override void Working()
        {
            Console.WriteLine("我是炒菜机器人，我叫{0}，我做的菜是{1}",this.Name,this.Dishname);
        }
    }
}
